//
//  BzhiweiController.m
//  Ten
//
//  Created by anfuer on 2018/11/14.
//  Copyright © 2018年 xg韦. All rights reserved.
//

#import "BzhiweiController.h"
#import "BzhiweiListCell.h"
@interface BzhiweiController ()
@property (weak, nonatomic) IBOutlet UITableView *tbv;

@end

@implementation BzhiweiController

- (void)viewDidLoad {
    [super viewDidLoad];
    _tbv.separatorColor=[UIColor clearColor];
    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(noti) name:@"发布职位" object:nil];
    // Do any additional setup after loading the view.
}
-(void)noti
{
     [MyUtils collviewSelidex:@"发布职位" toVc:self andShopInfo:nil];
}
- (IBAction)fabuBtna:(UIButton *)sender {
    
    [MyUtils collviewSelidex:@"发布职位" toVc:self andShopInfo:nil];
}

#pragma mark 返回每组行数
-(NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section{
    return  5;
}

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath;
{
    
    BzhiweiListCell*cell=[BzhiweiListCell CellWithTableView:tableView];
    cell.selectionStyle = UITableViewCellSelectionStyleNone;
    return cell;

}


#pragma mark 设置每行高度
-(CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath{
    return 150;
}
#pragma mark 点击事件
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath

{
    
}



@end
